<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png" />

    <van-button type="primary">主要按钮</van-button>
  </div>
</template>

<script>
// @ is an alias to /src
import { indexList, businessType } from "@/request/api";

export default {
  name: "Home",
  components: {},
  created() {
    indexList({ cityPy: "bei" })
      .then((res) => {
        console.log(res);
      })
      .catch((err) => {
        console.log(err);
      });
    businessType({ cityPy: "bei" })
      .then((res) => {
        console.log(res);
      })
      .catch((err) => {
        console.log(err);
      });
  },
};
</script>
<style scoped lang="less">
.home {
  width: 100px;
  height: 100px;
  background: pink;
}
</style>
